package org.diysearch.tools;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.diysearch.interfaces.SolrResponseHandler;

public class ConfigurationBean {
	private String env;
	private String calaisLicenseKey;
	private String calaisParamTemplate;
	private List<String> xstreamAliases;
	private String solrUrl;
	private double scoreThreshold;
	private double termLearningThreshold;
	private String solrQueryString;
	private SolrResponseHandler solrResponseHandler;
	private Map<Integer,String> taggableModelsMap = new HashMap<Integer,String>();
	private int pageLimit;
	private int defaultUserPermissions;
	private int adminPermissions;
	private String defaultAuth;
	private String doNotReplyAddr;
	private String emailSubject;
	
	public ConfigurationBean() {
		xstreamAliases = new ArrayList<String>();
	}

	public String getEmailSubject() {
		return emailSubject;
	}

	public void setEmailSubject(String emailSubject) {
		this.emailSubject = emailSubject;
	}

	public String getDoNotReplyAddr() {
		return doNotReplyAddr;
	}

	public void setDoNotReplyAddr(String doNotReplyAddr) {
		this.doNotReplyAddr = doNotReplyAddr;
	}

	public String getEnv() {
		return env;
	}

	public void setEnv(String env) {
		this.env = env;
	}

	public String getDefaultAuth() {
		return defaultAuth;
	}

	public void setDefaultAuth(String defaultAuth) {
		this.defaultAuth = defaultAuth;
	}

	public int getDefaultUserPermissions() {
		return defaultUserPermissions;
	}

	public void setDefaultUserPermissions(int defaultUserPermissions) {
		this.defaultUserPermissions = defaultUserPermissions;
	}

	public int getAdminPermissions() {
		return adminPermissions;
	}

	public void setAdminPermissions(int adminPermissions) {
		this.adminPermissions = adminPermissions;
	}

	public int getPageLimit() {
		return pageLimit;
	}

	public void setPageLimit(int pageLimit) {
		this.pageLimit = pageLimit;
	}

	public Map<Integer, String> getTaggableModelsMap() {
		return taggableModelsMap;
	}

	public void setTaggableModelsMap(Map<Integer, String> taggableModelsMap) {
		this.taggableModelsMap = taggableModelsMap;
	}

	public SolrResponseHandler getSolrResponseHandler() {
		return solrResponseHandler;
	}

	public void setSolrResponseHandler(SolrResponseHandler solrResponseHandler) {
		this.solrResponseHandler = solrResponseHandler;
	}

	public String getSolrQueryString() {
		return solrQueryString;
	}

	public void setSolrQueryString(String solrQueryString) {
		this.solrQueryString = solrQueryString;
	}

	public double getScoreThreshold() {
		return scoreThreshold;
	}

	public void setScoreThreshold(double scoreThreshold) {
		this.scoreThreshold = scoreThreshold;
	}

	public double getTermLearningThreshold() {
		return termLearningThreshold;
	}

	public void setTermLearningThreshold(double termLearningThreshold) {
		this.termLearningThreshold = termLearningThreshold;
	}

	public String getSolrUrl() {
		return solrUrl;
	}

	public void setSolrUrl(String solrUrl) {
		this.solrUrl = solrUrl;
	}

	public String getCalaisParamTemplate() {
		return calaisParamTemplate;
	}

	public void setCalaisParamTemplate(String calaisParamTemplate) {
		this.calaisParamTemplate = calaisParamTemplate;
	}

	public String getCalaisLicenseKey() {
		return calaisLicenseKey;
	}

	public void setCalaisLicenseKey(String calaisLicenseKey) {
		this.calaisLicenseKey = calaisLicenseKey;
	}

	public List<String> getXstreamAliases() {
		return xstreamAliases;
	}

	public void setXstreamAliases(List<String> xstreamAliases) {
		this.xstreamAliases = xstreamAliases;
	}
	
}
